package com.shopping.mall.core.module.cart.mapper;

import com.shopping.mall.core.module.cart.entity.Cart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shopping.mall.core.module.cart.entity.CartList;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * CartMapper 接口
 * </p>
 *
 * @author zzy
 * @since 2021-08-15
 */
@Mapper
public interface CartMapper extends BaseMapper<Cart> {

    CartList getAll(Cart cart);

    CartList getByIds(List<String> ids);
}
